<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>scuwdt: Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">scuwdt
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group___overview.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Overview</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the device.  <a href="struct_x_scu_wdt___config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_scu_wdt.html">XScuWdt</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> driver instance data.  <a href="struct_x_scu_wdt.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga0bc0278a14721ac3733d4080e7a03ee3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga0bc0278a14721ac3733d4080e7a03ee3">XSCUWDT_H</a></td></tr>
<tr class="memdesc:ga0bc0278a14721ac3733d4080e7a03ee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; prevent circular inclusions  <a href="#ga0bc0278a14721ac3733d4080e7a03ee3">More...</a><br/></td></tr>
<tr class="separator:ga0bc0278a14721ac3733d4080e7a03ee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9481fbc75254dd60304af3fd0254e3f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga9481fbc75254dd60304af3fd0254e3f6">XScuWdt_IsWdtExpired</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga9481fbc75254dd60304af3fd0254e3f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to check if the watchdog has timed-out and the last reset was caused by the watchdog reset.  <a href="#ga9481fbc75254dd60304af3fd0254e3f6">More...</a><br/></td></tr>
<tr class="separator:ga9481fbc75254dd60304af3fd0254e3f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga551b705d1ebbb530ac7a2a9752c8f5cb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga551b705d1ebbb530ac7a2a9752c8f5cb">XScuWdt_IsTimerExpired</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga551b705d1ebbb530ac7a2a9752c8f5cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to check if the watchdog counter has reached 0 in timer mode.  <a href="#ga551b705d1ebbb530ac7a2a9752c8f5cb">More...</a><br/></td></tr>
<tr class="separator:ga551b705d1ebbb530ac7a2a9752c8f5cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9487e2c385d8dc9cf5f1f27539ca079f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga9487e2c385d8dc9cf5f1f27539ca079f">XScuWdt_RestartWdt</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga9487e2c385d8dc9cf5f1f27539ca079f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Re-start the watchdog timer.  <a href="#ga9487e2c385d8dc9cf5f1f27539ca079f">More...</a><br/></td></tr>
<tr class="separator:ga9487e2c385d8dc9cf5f1f27539ca079f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7dca99f7a6158d27399eb355f40e3367"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7dca99f7a6158d27399eb355f40e3367">XScuWdt_LoadWdt</a>(InstancePtr, Value)</td></tr>
<tr class="memdesc:ga7dca99f7a6158d27399eb355f40e3367"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write to the watchdog timer load register.  <a href="#ga7dca99f7a6158d27399eb355f40e3367">More...</a><br/></td></tr>
<tr class="separator:ga7dca99f7a6158d27399eb355f40e3367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8813e9f9df643de43359defc1a7a48bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga8813e9f9df643de43359defc1a7a48bc">XScuWdt_SetWdMode</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga8813e9f9df643de43359defc1a7a48bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Put the watchdog timer in Watchdog mode by setting the WD mode bit of the Watchdog control register.  <a href="#ga8813e9f9df643de43359defc1a7a48bc">More...</a><br/></td></tr>
<tr class="separator:ga8813e9f9df643de43359defc1a7a48bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga816969d609034dc12371ca7bc8444bf3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga816969d609034dc12371ca7bc8444bf3">XScuWdt_SetTimerMode</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga816969d609034dc12371ca7bc8444bf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Put the watchdog timer in Timer mode by writing 0x12345678 and 0x87654321 successively to the Watchdog Disable Register.  <a href="#ga816969d609034dc12371ca7bc8444bf3">More...</a><br/></td></tr>
<tr class="separator:ga816969d609034dc12371ca7bc8444bf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf62532fc29f79a73a2a058d6e81586a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaf62532fc29f79a73a2a058d6e81586a6">XScuWdt_GetControlReg</a>(InstancePtr)</td></tr>
<tr class="memdesc:gaf62532fc29f79a73a2a058d6e81586a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the contents of the watchdog control register.  <a href="#gaf62532fc29f79a73a2a058d6e81586a6">More...</a><br/></td></tr>
<tr class="separator:gaf62532fc29f79a73a2a058d6e81586a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac6e3f570a91434e6e4066a7a6c5d333"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaac6e3f570a91434e6e4066a7a6c5d333">XScuWdt_SetControlReg</a>(InstancePtr, ControlReg)</td></tr>
<tr class="memdesc:gaac6e3f570a91434e6e4066a7a6c5d333"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write to the watchdog control register.  <a href="#gaac6e3f570a91434e6e4066a7a6c5d333">More...</a><br/></td></tr>
<tr class="separator:gaac6e3f570a91434e6e4066a7a6c5d333"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34698453a13b46c1e87f3a8ff3510f37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga34698453a13b46c1e87f3a8ff3510f37">XScuWdt_EnableAutoReload</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga34698453a13b46c1e87f3a8ff3510f37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable auto-reload mode.  <a href="#ga34698453a13b46c1e87f3a8ff3510f37">More...</a><br/></td></tr>
<tr class="separator:ga34698453a13b46c1e87f3a8ff3510f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga483f73470c465c0ce9317a14c4546130"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga483f73470c465c0ce9317a14c4546130">XSCUWDT_HW_H</a></td></tr>
<tr class="memdesc:ga483f73470c465c0ce9317a14c4546130"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; prevent circular inclusions  <a href="#ga483f73470c465c0ce9317a14c4546130">More...</a><br/></td></tr>
<tr class="separator:ga483f73470c465c0ce9317a14c4546130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c00c40fbb11db997a4650ae222ac29f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>(BaseAddr, RegOffset)&#160;&#160;&#160;Xil_In32((BaseAddr) + ((u32)RegOffset))</td></tr>
<tr class="memdesc:ga0c00c40fbb11db997a4650ae222ac29f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the given register.  <a href="#ga0c00c40fbb11db997a4650ae222ac29f">More...</a><br/></td></tr>
<tr class="separator:ga0c00c40fbb11db997a4650ae222ac29f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga396641b45a7213c8c18a19485759fee4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a>(BaseAddr, RegOffset, Data)&#160;&#160;&#160;Xil_Out32((BaseAddr) + ((u32)RegOffset), ((u32)Data))</td></tr>
<tr class="memdesc:ga396641b45a7213c8c18a19485759fee4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the given register.  <a href="#ga396641b45a7213c8c18a19485759fee4">More...</a><br/></td></tr>
<tr class="separator:ga396641b45a7213c8c18a19485759fee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga1fee56fc3ec3c8b003e6ae0528703b1c"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga1fee56fc3ec3c8b003e6ae0528703b1c">XScuWdt_CfgInitialize</a> (<a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *InstancePtr, <a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a> *ConfigPtr, u32 EffectiveAddress)</td></tr>
<tr class="memdesc:ga1fee56fc3ec3c8b003e6ae0528703b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a specific watchdog timer instance/driver.  <a href="#ga1fee56fc3ec3c8b003e6ae0528703b1c">More...</a><br/></td></tr>
<tr class="separator:ga1fee56fc3ec3c8b003e6ae0528703b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87a7a8230fc5fa80f64cb66210e596b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga87a7a8230fc5fa80f64cb66210e596b8">XScuWdt_Start</a> (<a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga87a7a8230fc5fa80f64cb66210e596b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start the watchdog counter of the device.  <a href="#ga87a7a8230fc5fa80f64cb66210e596b8">More...</a><br/></td></tr>
<tr class="separator:ga87a7a8230fc5fa80f64cb66210e596b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1493503cc6e52afa681f23329e9abef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gae1493503cc6e52afa681f23329e9abef">XScuWdt_Stop</a> (<a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *InstancePtr)</td></tr>
<tr class="memdesc:gae1493503cc6e52afa681f23329e9abef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop the watchdog timer.  <a href="#gae1493503cc6e52afa681f23329e9abef">More...</a><br/></td></tr>
<tr class="separator:gae1493503cc6e52afa681f23329e9abef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga899e316b67b7eab6cec1f5b99df25e4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga899e316b67b7eab6cec1f5b99df25e4d">XScuWdt_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga899e316b67b7eab6cec1f5b99df25e4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lookup the device configuration based on the unique device ID.  <a href="#ga899e316b67b7eab6cec1f5b99df25e4d">More...</a><br/></td></tr>
<tr class="separator:ga899e316b67b7eab6cec1f5b99df25e4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d6d32ff992704d9b78f93ab00ebdf78"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest</a> (<a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga2d6d32ff992704d9b78f93ab00ebdf78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run a self-test on the WDT.  <a href="#ga2d6d32ff992704d9b78f93ab00ebdf78">More...</a><br/></td></tr>
<tr class="separator:ga2d6d32ff992704d9b78f93ab00ebdf78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga5e6a2aae06d017ed240e5cbeffe190ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga5e6a2aae06d017ed240e5cbeffe190ff">XScuWdt_ConfigTable</a> []</td></tr>
<tr class="memdesc:ga5e6a2aae06d017ed240e5cbeffe190ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">This table contains configuration information for each watchdog timer device in the system.  <a href="#ga5e6a2aae06d017ed240e5cbeffe190ff">More...</a><br/></td></tr>
<tr class="separator:ga5e6a2aae06d017ed240e5cbeffe190ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8aafb91c801f0de1aea789c5d1380006"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga8aafb91c801f0de1aea789c5d1380006">XScuWdt_ConfigTable</a> [XPAR_XSCUWDT_NUM_INSTANCES]</td></tr>
<tr class="memdesc:ga8aafb91c801f0de1aea789c5d1380006"><td class="mdescLeft">&#160;</td><td class="mdescRight">This table contains configuration information for each watchdog timer device in the system.  <a href="#ga8aafb91c801f0de1aea789c5d1380006">More...</a><br/></td></tr>
<tr class="separator:ga8aafb91c801f0de1aea789c5d1380006"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register Map</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp092729737d14686054aa21531a3582c6"></a>Offsets of registers from the start of the device.</p>
<p>The WDT registers start at an offset 0x20 </p>
</td></tr>
<tr class="memitem:ga0ed3512c06a5468c1a1e156485c89b05"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga0ed3512c06a5468c1a1e156485c89b05">XSCUWDT_LOAD_OFFSET</a>&#160;&#160;&#160;0x00U</td></tr>
<tr class="memdesc:ga0ed3512c06a5468c1a1e156485c89b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog Load Register.  <a href="#ga0ed3512c06a5468c1a1e156485c89b05">More...</a><br/></td></tr>
<tr class="separator:ga0ed3512c06a5468c1a1e156485c89b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3baeac323b13ac9c8fb14b26ecb1080b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga3baeac323b13ac9c8fb14b26ecb1080b">XSCUWDT_COUNTER_OFFSET</a>&#160;&#160;&#160;0x04U</td></tr>
<tr class="memdesc:ga3baeac323b13ac9c8fb14b26ecb1080b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog Counter Register.  <a href="#ga3baeac323b13ac9c8fb14b26ecb1080b">More...</a><br/></td></tr>
<tr class="separator:ga3baeac323b13ac9c8fb14b26ecb1080b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb582c48f399b333543c54e0563809d5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>&#160;&#160;&#160;0x08U</td></tr>
<tr class="memdesc:gabb582c48f399b333543c54e0563809d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog Control Register.  <a href="#gabb582c48f399b333543c54e0563809d5">More...</a><br/></td></tr>
<tr class="separator:gabb582c48f399b333543c54e0563809d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51a62e1dedd6b0f5f45cd19305f09440"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga51a62e1dedd6b0f5f45cd19305f09440">XSCUWDT_ISR_OFFSET</a>&#160;&#160;&#160;0x0CU</td></tr>
<tr class="memdesc:ga51a62e1dedd6b0f5f45cd19305f09440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog Interrupt Status Register.  <a href="#ga51a62e1dedd6b0f5f45cd19305f09440">More...</a><br/></td></tr>
<tr class="separator:ga51a62e1dedd6b0f5f45cd19305f09440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga265a4196811ab4b4ac12954d02461520"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga265a4196811ab4b4ac12954d02461520">XSCUWDT_RST_STS_OFFSET</a>&#160;&#160;&#160;0x10U</td></tr>
<tr class="memdesc:ga265a4196811ab4b4ac12954d02461520"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog Reset Status Register.  <a href="#ga265a4196811ab4b4ac12954d02461520">More...</a><br/></td></tr>
<tr class="separator:ga265a4196811ab4b4ac12954d02461520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8322daafd0ea0ea44c59f69523b19f66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga8322daafd0ea0ea44c59f69523b19f66">XSCUWDT_DISABLE_OFFSET</a>&#160;&#160;&#160;0x14U</td></tr>
<tr class="memdesc:ga8322daafd0ea0ea44c59f69523b19f66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog Disable Register.  <a href="#ga8322daafd0ea0ea44c59f69523b19f66">More...</a><br/></td></tr>
<tr class="separator:ga8322daafd0ea0ea44c59f69523b19f66"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Watchdog Control register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrpa51342099178b87571a99f79e7ad25e8"></a>This register bits control the prescaler, WD/Timer mode, Intr enable, auto-reload, watchdog enable. </p>
</td></tr>
<tr class="memitem:gae0774dc548157f183fa5c365fcc8f251"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gae0774dc548157f183fa5c365fcc8f251">XSCUWDT_CONTROL_PRESCALER_MASK</a>&#160;&#160;&#160;0x0000FF00U</td></tr>
<tr class="memdesc:gae0774dc548157f183fa5c365fcc8f251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prescaler.  <a href="#gae0774dc548157f183fa5c365fcc8f251">More...</a><br/></td></tr>
<tr class="separator:gae0774dc548157f183fa5c365fcc8f251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac19052eae87df391ecfc92476c6be092"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac19052eae87df391ecfc92476c6be092"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XSCUWDT_CONTROL_PRESCALER_SHIFT</b>&#160;&#160;&#160;8U</td></tr>
<tr class="separator:gac19052eae87df391ecfc92476c6be092"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c5148db8727a2fdbab1c7dba9296f77"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga7c5148db8727a2fdbab1c7dba9296f77">XSCUWDT_CONTROL_WD_MODE_MASK</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:ga7c5148db8727a2fdbab1c7dba9296f77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog/Timer mode.  <a href="#ga7c5148db8727a2fdbab1c7dba9296f77">More...</a><br/></td></tr>
<tr class="separator:ga7c5148db8727a2fdbab1c7dba9296f77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga88489f11e8c766bd4ba2c725087b16fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga88489f11e8c766bd4ba2c725087b16fc">XSCUWDT_CONTROL_IT_ENABLE_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga88489f11e8c766bd4ba2c725087b16fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Intr enable (in timer mode)  <a href="#ga88489f11e8c766bd4ba2c725087b16fc">More...</a><br/></td></tr>
<tr class="separator:ga88489f11e8c766bd4ba2c725087b16fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3432c3b19bc44d4283ec4520b6e347d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga3432c3b19bc44d4283ec4520b6e347d2">XSCUWDT_CONTROL_AUTO_RELOAD_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:ga3432c3b19bc44d4283ec4520b6e347d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Auto-reload (in timer mode)  <a href="#ga3432c3b19bc44d4283ec4520b6e347d2">More...</a><br/></td></tr>
<tr class="separator:ga3432c3b19bc44d4283ec4520b6e347d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd4c1f9ff31d9c47028759d68d945a8c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gafd4c1f9ff31d9c47028759d68d945a8c">XSCUWDT_CONTROL_WD_ENABLE_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:gafd4c1f9ff31d9c47028759d68d945a8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog enable.  <a href="#gafd4c1f9ff31d9c47028759d68d945a8c">More...</a><br/></td></tr>
<tr class="separator:gafd4c1f9ff31d9c47028759d68d945a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Interrupt Status register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp7c377e1936da81db208c59cc56a494d4"></a>This register indicates the Counter register has reached zero in Counter mode. </p>
</td></tr>
<tr class="memitem:ga48a52ba61af3b86522de83206703b0cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga48a52ba61af3b86522de83206703b0cf">XSCUWDT_ISR_EVENT_FLAG_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga48a52ba61af3b86522de83206703b0cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event flag.  <a href="#ga48a52ba61af3b86522de83206703b0cf">More...</a><br/></td></tr>
<tr class="separator:ga48a52ba61af3b86522de83206703b0cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Reset Status register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp95f86203bfb9d2b9eaad0100e868f9ff"></a>This register indicates the Counter register has reached zero in Watchdog mode and a reset request is sent. </p>
</td></tr>
<tr class="memitem:ga09ce6fd05a79f896111beab252e792f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga09ce6fd05a79f896111beab252e792f5">XSCUWDT_RST_STS_RESET_FLAG_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga09ce6fd05a79f896111beab252e792f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time out occurred.  <a href="#ga09ce6fd05a79f896111beab252e792f5">More...</a><br/></td></tr>
<tr class="separator:ga09ce6fd05a79f896111beab252e792f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Disable register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrpad85ede63ac2f6ea8c577de15cd7d229"></a>This register is used to switch from watchdog mode to timer mode.</p>
<p>The software must write 0x12345678 and 0x87654321 successively to the Watchdog Disable Register so that the watchdog mode bit in the Watchdog Control Register is set to zero. </p>
</td></tr>
<tr class="memitem:gaafdd114ae5e1835ff15037e617464de2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#gaafdd114ae5e1835ff15037e617464de2">XSCUWDT_DISABLE_VALUE1</a>&#160;&#160;&#160;0x12345678U</td></tr>
<tr class="memdesc:gaafdd114ae5e1835ff15037e617464de2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog mode disable value 1.  <a href="#gaafdd114ae5e1835ff15037e617464de2">More...</a><br/></td></tr>
<tr class="separator:gaafdd114ae5e1835ff15037e617464de2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3637e7d6bc621bbe36942a1bc9543f2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___overview.html#ga3637e7d6bc621bbe36942a1bc9543f2f">XSCUWDT_DISABLE_VALUE2</a>&#160;&#160;&#160;0x87654321U</td></tr>
<tr class="memdesc:ga3637e7d6bc621bbe36942a1bc9543f2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Watchdog mode disable value 2.  <a href="#ga3637e7d6bc621bbe36942a1bc9543f2f">More...</a><br/></td></tr>
<tr class="separator:ga3637e7d6bc621bbe36942a1bc9543f2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga3432c3b19bc44d4283ec4520b6e347d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_CONTROL_AUTO_RELOAD_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Auto-reload (in timer mode) </p>

</div>
</div>
<a class="anchor" id="ga88489f11e8c766bd4ba2c725087b16fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_CONTROL_IT_ENABLE_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Intr enable (in timer mode) </p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="gabb582c48f399b333543c54e0563809d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_CONTROL_OFFSET&#160;&#160;&#160;0x08U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog Control Register. </p>

<p>Referenced by <a class="el" href="group___overview.html#ga87a7a8230fc5fa80f64cb66210e596b8">XScuWdt_Start()</a>, and <a class="el" href="group___overview.html#gae1493503cc6e52afa681f23329e9abef">XScuWdt_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="gae0774dc548157f183fa5c365fcc8f251"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_CONTROL_PRESCALER_MASK&#160;&#160;&#160;0x0000FF00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prescaler. </p>

</div>
</div>
<a class="anchor" id="gafd4c1f9ff31d9c47028759d68d945a8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_CONTROL_WD_ENABLE_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog enable. </p>

<p>Referenced by <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>, <a class="el" href="group___overview.html#ga87a7a8230fc5fa80f64cb66210e596b8">XScuWdt_Start()</a>, and <a class="el" href="group___overview.html#gae1493503cc6e52afa681f23329e9abef">XScuWdt_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7c5148db8727a2fdbab1c7dba9296f77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_CONTROL_WD_MODE_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog/Timer mode. </p>

</div>
</div>
<a class="anchor" id="ga3baeac323b13ac9c8fb14b26ecb1080b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_COUNTER_OFFSET&#160;&#160;&#160;0x04U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog Counter Register. </p>

<p>Referenced by <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8322daafd0ea0ea44c59f69523b19f66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_DISABLE_OFFSET&#160;&#160;&#160;0x14U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog Disable Register. </p>

</div>
</div>
<a class="anchor" id="gaafdd114ae5e1835ff15037e617464de2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_DISABLE_VALUE1&#160;&#160;&#160;0x12345678U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog mode disable value 1. </p>

</div>
</div>
<a class="anchor" id="ga3637e7d6bc621bbe36942a1bc9543f2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_DISABLE_VALUE2&#160;&#160;&#160;0x87654321U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog mode disable value 2. </p>

</div>
</div>
<a class="anchor" id="ga34698453a13b46c1e87f3a8ff3510f37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_EnableAutoReload</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group___overview.html#gaac6e3f570a91434e6e4066a7a6c5d333">XScuWdt_SetControlReg</a>((InstancePtr),                            \</div>
<div class="line">                              (<a class="code" href="group___overview.html#gaf62532fc29f79a73a2a058d6e81586a6">XScuWdt_GetControlReg</a>(InstancePtr) |     \</div>
<div class="line">                               <a class="code" href="group___overview.html#ga3432c3b19bc44d4283ec4520b6e347d2">XSCUWDT_CONTROL_AUTO_RELOAD_MASK</a>))</div>
<div class="ttc" id="group___overview_html_gaf62532fc29f79a73a2a058d6e81586a6"><div class="ttname"><a href="group___overview.html#gaf62532fc29f79a73a2a058d6e81586a6">XScuWdt_GetControlReg</a></div><div class="ttdeci">#define XScuWdt_GetControlReg(InstancePtr)</div><div class="ttdoc">Get the contents of the watchdog control register. </div><div class="ttdef"><b>Definition:</b> xscuwdt.h:309</div></div>
<div class="ttc" id="group___overview_html_gaac6e3f570a91434e6e4066a7a6c5d333"><div class="ttname"><a href="group___overview.html#gaac6e3f570a91434e6e4066a7a6c5d333">XScuWdt_SetControlReg</a></div><div class="ttdeci">#define XScuWdt_SetControlReg(InstancePtr, ControlReg)</div><div class="ttdoc">Write to the watchdog control register. </div><div class="ttdef"><b>Definition:</b> xscuwdt.h:328</div></div>
<div class="ttc" id="group___overview_html_ga3432c3b19bc44d4283ec4520b6e347d2"><div class="ttname"><a href="group___overview.html#ga3432c3b19bc44d4283ec4520b6e347d2">XSCUWDT_CONTROL_AUTO_RELOAD_MASK</a></div><div class="ttdeci">#define XSCUWDT_CONTROL_AUTO_RELOAD_MASK</div><div class="ttdoc">Auto-reload (in timer mode) </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:74</div></div>
</div><!-- fragment -->
<p>Enable auto-reload mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#ga34698453a13b46c1e87f3a8ff3510f37" title="Enable auto-reload mode. ">XScuWdt_EnableAutoReload(XScuWdt *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="gaf62532fc29f79a73a2a058d6e81586a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_GetControlReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddr,                 \</div>
<div class="line">                        <a class="code" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>)</div>
<div class="ttc" id="group___overview_html_ga0c00c40fbb11db997a4650ae222ac29f"><div class="ttname"><a href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a></div><div class="ttdeci">#define XScuWdt_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:131</div></div>
<div class="ttc" id="group___overview_html_gabb582c48f399b333543c54e0563809d5"><div class="ttname"><a href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_CONTROL_OFFSET</div><div class="ttdoc">Watchdog Control Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:56</div></div>
</div><!-- fragment -->
<p>Get the contents of the watchdog control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Contents of the watchdog control register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group___overview.html#gaf62532fc29f79a73a2a058d6e81586a6" title="Get the contents of the watchdog control register. ">XScuWdt_GetControlReg(XScuWdt *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0bc0278a14721ac3733d4080e7a03ee3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>&lt; prevent circular inclusions </p>
<p>by using protection macros </p>

</div>
</div>
<a class="anchor" id="ga483f73470c465c0ce9317a14c4546130"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_HW_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>&lt; prevent circular inclusions </p>
<p>by using protection macros </p>

</div>
</div>
<a class="anchor" id="ga48a52ba61af3b86522de83206703b0cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_ISR_EVENT_FLAG_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event flag. </p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga51a62e1dedd6b0f5f45cd19305f09440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_ISR_OFFSET&#160;&#160;&#160;0x0CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog Interrupt Status Register. </p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga551b705d1ebbb530ac7a2a9752c8f5cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_IsTimerExpired</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddr,               \</div>
<div class="line">                          <a class="code" href="group___overview.html#ga51a62e1dedd6b0f5f45cd19305f09440">XSCUWDT_ISR_OFFSET</a>) &amp;                         <a class="code" href="group___overview.html#ga48a52ba61af3b86522de83206703b0cf">\</a></div>
<div class="line"><a class="code" href="group___overview.html#ga48a52ba61af3b86522de83206703b0cf">	  XSCUWDT_ISR_EVENT_FLAG_MASK</a>) == <a class="code" href="group___overview.html#ga48a52ba61af3b86522de83206703b0cf">XSCUWDT_ISR_EVENT_FLAG_MASK</a>)</div>
<div class="ttc" id="group___overview_html_ga0c00c40fbb11db997a4650ae222ac29f"><div class="ttname"><a href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a></div><div class="ttdeci">#define XScuWdt_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:131</div></div>
<div class="ttc" id="group___overview_html_ga51a62e1dedd6b0f5f45cd19305f09440"><div class="ttname"><a href="group___overview.html#ga51a62e1dedd6b0f5f45cd19305f09440">XSCUWDT_ISR_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_ISR_OFFSET</div><div class="ttdoc">Watchdog Interrupt Status Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:57</div></div>
<div class="ttc" id="group___overview_html_ga48a52ba61af3b86522de83206703b0cf"><div class="ttname"><a href="group___overview.html#ga48a52ba61af3b86522de83206703b0cf">XSCUWDT_ISR_EVENT_FLAG_MASK</a></div><div class="ttdeci">#define XSCUWDT_ISR_EVENT_FLAG_MASK</div><div class="ttdoc">Event flag. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:86</div></div>
</div><!-- fragment -->
<p>This function is used to check if the watchdog counter has reached 0 in timer mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if the watchdog has expired.</li>
<li>FALSE if the watchdog has not expired.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: int <a class="el" href="group___overview.html#ga551b705d1ebbb530ac7a2a9752c8f5cb" title="This function is used to check if the watchdog counter has reached 0 in timer mode. ">XScuWdt_IsTimerExpired(XScuWdt *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9481fbc75254dd60304af3fd0254e3f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_IsWdtExpired</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddr,               \</div>
<div class="line">                          <a class="code" href="group___overview.html#ga265a4196811ab4b4ac12954d02461520">XSCUWDT_RST_STS_OFFSET</a>) &amp;                     <a class="code" href="group___overview.html#ga09ce6fd05a79f896111beab252e792f5">\</a></div>
<div class="line"><a class="code" href="group___overview.html#ga09ce6fd05a79f896111beab252e792f5">	  XSCUWDT_RST_STS_RESET_FLAG_MASK</a>) == <a class="code" href="group___overview.html#ga09ce6fd05a79f896111beab252e792f5">XSCUWDT_RST_STS_RESET_FLAG_MASK</a>)</div>
<div class="ttc" id="group___overview_html_ga0c00c40fbb11db997a4650ae222ac29f"><div class="ttname"><a href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a></div><div class="ttdeci">#define XScuWdt_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:131</div></div>
<div class="ttc" id="group___overview_html_ga09ce6fd05a79f896111beab252e792f5"><div class="ttname"><a href="group___overview.html#ga09ce6fd05a79f896111beab252e792f5">XSCUWDT_RST_STS_RESET_FLAG_MASK</a></div><div class="ttdeci">#define XSCUWDT_RST_STS_RESET_FLAG_MASK</div><div class="ttdoc">Time out occurred. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:95</div></div>
<div class="ttc" id="group___overview_html_ga265a4196811ab4b4ac12954d02461520"><div class="ttname"><a href="group___overview.html#ga265a4196811ab4b4ac12954d02461520">XSCUWDT_RST_STS_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_RST_STS_OFFSET</div><div class="ttdoc">Watchdog Reset Status Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:58</div></div>
</div><!-- fragment -->
<p>This function is used to check if the watchdog has timed-out and the last reset was caused by the watchdog reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if the watchdog has expired.</li>
<li>FALSE if the watchdog has not expired.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: int <a class="el" href="group___overview.html#ga9481fbc75254dd60304af3fd0254e3f6" title="This function is used to check if the watchdog has timed-out and the last reset was caused by the wat...">XScuWdt_IsWdtExpired(XScuWdt *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga0ed3512c06a5468c1a1e156485c89b05"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_LOAD_OFFSET&#160;&#160;&#160;0x00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog Load Register. </p>

<p>Referenced by <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7dca99f7a6158d27399eb355f40e3367"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_LoadWdt</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Value&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddr,                \</div>
<div class="line">                         <a class="code" href="group___overview.html#ga0ed3512c06a5468c1a1e156485c89b05">XSCUWDT_LOAD_OFFSET</a>, (Value))</div>
<div class="ttc" id="group___overview_html_ga0ed3512c06a5468c1a1e156485c89b05"><div class="ttname"><a href="group___overview.html#ga0ed3512c06a5468c1a1e156485c89b05">XSCUWDT_LOAD_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_LOAD_OFFSET</div><div class="ttdoc">Watchdog Load Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:54</div></div>
<div class="ttc" id="group___overview_html_ga396641b45a7213c8c18a19485759fee4"><div class="ttname"><a href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a></div><div class="ttdeci">#define XScuWdt_WriteReg(BaseAddr, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:149</div></div>
</div><!-- fragment -->
<p>Write to the watchdog timer load register. </p>
<p>This will also update the watchdog counter register with the new value. This macro can be used to change the time-out value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance. </td></tr>
    <tr><td class="paramname">Value</td><td>is the value to be written to the Watchdog Load register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#ga7dca99f7a6158d27399eb355f40e3367" title="Write to the watchdog timer load register. ">XScuWdt_LoadWdt(XScuWdt *InstancePtr, u32 Value)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>, and <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0c00c40fbb11db997a4650ae222ac29f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;Xil_In32((BaseAddr) + ((u32)RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddr</td><td>is the base address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be read</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f" title="Read the given register. ">XScuWdt_ReadReg(u32 BaseAddr, u32 RegOffset)</a> </dd></dl>

<p>Referenced by <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>, <a class="el" href="group___overview.html#ga87a7a8230fc5fa80f64cb66210e596b8">XScuWdt_Start()</a>, and <a class="el" href="group___overview.html#gae1493503cc6e52afa681f23329e9abef">XScuWdt_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9487e2c385d8dc9cf5f1f27539ca079f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_RestartWdt</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group___overview.html#ga7dca99f7a6158d27399eb355f40e3367">XScuWdt_LoadWdt</a>((InstancePtr),                                   \</div>
<div class="line">                        (<a class="code" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddr, \</div>
<div class="line">                                         <a class="code" href="group___overview.html#ga0ed3512c06a5468c1a1e156485c89b05">XSCUWDT_LOAD_OFFSET</a>)))</div>
<div class="ttc" id="group___overview_html_ga0c00c40fbb11db997a4650ae222ac29f"><div class="ttname"><a href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a></div><div class="ttdeci">#define XScuWdt_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:131</div></div>
<div class="ttc" id="group___overview_html_ga7dca99f7a6158d27399eb355f40e3367"><div class="ttname"><a href="group___overview.html#ga7dca99f7a6158d27399eb355f40e3367">XScuWdt_LoadWdt</a></div><div class="ttdeci">#define XScuWdt_LoadWdt(InstancePtr, Value)</div><div class="ttdoc">Write to the watchdog timer load register. </div><div class="ttdef"><b>Definition:</b> xscuwdt.h:244</div></div>
<div class="ttc" id="group___overview_html_ga0ed3512c06a5468c1a1e156485c89b05"><div class="ttname"><a href="group___overview.html#ga0ed3512c06a5468c1a1e156485c89b05">XSCUWDT_LOAD_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_LOAD_OFFSET</div><div class="ttdoc">Watchdog Load Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:54</div></div>
</div><!-- fragment -->
<p>Re-start the watchdog timer. </p>
<p>This macro will read the watchdog load register and write the same value to load register to update the counter register. An application needs to call this function periodically to keep the watchdog from asserting the WDRESETREQ reset request output pin.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#ga9487e2c385d8dc9cf5f1f27539ca079f" title="Re-start the watchdog timer. ">XScuWdt_RestartWdt(XScuWdt *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga265a4196811ab4b4ac12954d02461520"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_RST_STS_OFFSET&#160;&#160;&#160;0x10U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Watchdog Reset Status Register. </p>

</div>
</div>
<a class="anchor" id="ga09ce6fd05a79f896111beab252e792f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSCUWDT_RST_STS_RESET_FLAG_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Time out occurred. </p>

</div>
</div>
<a class="anchor" id="gaac6e3f570a91434e6e4066a7a6c5d333"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_SetControlReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ControlReg&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddr,                \</div>
<div class="line">                         <a class="code" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>, (ControlReg))</div>
<div class="ttc" id="group___overview_html_gabb582c48f399b333543c54e0563809d5"><div class="ttname"><a href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_CONTROL_OFFSET</div><div class="ttdoc">Watchdog Control Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:56</div></div>
<div class="ttc" id="group___overview_html_ga396641b45a7213c8c18a19485759fee4"><div class="ttname"><a href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a></div><div class="ttdeci">#define XScuWdt_WriteReg(BaseAddr, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:149</div></div>
</div><!-- fragment -->
<p>Write to the watchdog control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance. </td></tr>
    <tr><td class="paramname">ControlReg</td><td>is the value to be written to the watchdog control register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#gaac6e3f570a91434e6e4066a7a6c5d333" title="Write to the watchdog control register. ">XScuWdt_SetControlReg(XScuWdt *InstancePtr, u32 ControlReg)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="group___overview.html#ga2d6d32ff992704d9b78f93ab00ebdf78">XScuWdt_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga816969d609034dc12371ca7bc8444bf3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_SetTimerMode</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">{                                                                       <a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">\</a></div>
<div class="line"><a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">		XScuWdt_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddr,              \</div>
<div class="line">                                 <a class="code" href="group___overview.html#ga8322daafd0ea0ea44c59f69523b19f66">XSCUWDT_DISABLE_OFFSET</a>,                                \</div>
<div class="line">                                 <a class="code" href="group___overview.html#gaafdd114ae5e1835ff15037e617464de2">XSCUWDT_DISABLE_VALUE1</a>);                       <a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">\</a></div>
<div class="line"><a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">		XScuWdt_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddr,              \</div>
<div class="line">                                 <a class="code" href="group___overview.html#ga8322daafd0ea0ea44c59f69523b19f66">XSCUWDT_DISABLE_OFFSET</a>,                                \</div>
<div class="line">                                 <a class="code" href="group___overview.html#ga3637e7d6bc621bbe36942a1bc9543f2f">XSCUWDT_DISABLE_VALUE2</a>);                       \</div>
<div class="line">        }</div>
<div class="ttc" id="group___overview_html_ga3637e7d6bc621bbe36942a1bc9543f2f"><div class="ttname"><a href="group___overview.html#ga3637e7d6bc621bbe36942a1bc9543f2f">XSCUWDT_DISABLE_VALUE2</a></div><div class="ttdeci">#define XSCUWDT_DISABLE_VALUE2</div><div class="ttdoc">Watchdog mode disable value 2. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:108</div></div>
<div class="ttc" id="group___overview_html_ga8322daafd0ea0ea44c59f69523b19f66"><div class="ttname"><a href="group___overview.html#ga8322daafd0ea0ea44c59f69523b19f66">XSCUWDT_DISABLE_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_DISABLE_OFFSET</div><div class="ttdoc">Watchdog Disable Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:59</div></div>
<div class="ttc" id="group___overview_html_gaafdd114ae5e1835ff15037e617464de2"><div class="ttname"><a href="group___overview.html#gaafdd114ae5e1835ff15037e617464de2">XSCUWDT_DISABLE_VALUE1</a></div><div class="ttdeci">#define XSCUWDT_DISABLE_VALUE1</div><div class="ttdoc">Watchdog mode disable value 1. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:105</div></div>
<div class="ttc" id="group___overview_html_ga396641b45a7213c8c18a19485759fee4"><div class="ttname"><a href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a></div><div class="ttdeci">#define XScuWdt_WriteReg(BaseAddr, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:149</div></div>
</div><!-- fragment -->
<p>Put the watchdog timer in Timer mode by writing 0x12345678 and 0x87654321 successively to the Watchdog Disable Register. </p>
<p>The software must write 0x12345678 and 0x87654321 successively to the Watchdog Disable Register so that the watchdog mode bit in the Watchdog Control Register is set to zero.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#ga816969d609034dc12371ca7bc8444bf3" title="Put the watchdog timer in Timer mode by writing 0x12345678 and 0x87654321 successively to the Watchdo...">XScuWdt_SetTimerMode(XScuWdt *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8813e9f9df643de43359defc1a7a48bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_SetWdMode</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddr,                  \</div>
<div class="line">                         <a class="code" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>,                          \</div>
<div class="line">                         (<a class="code" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddr, \</div>
<div class="line">                                          <a class="code" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>) |                       \</div>
<div class="line">                          (<a class="code" href="group___overview.html#ga7c5148db8727a2fdbab1c7dba9296f77">XSCUWDT_CONTROL_WD_MODE_MASK</a>)))</div>
<div class="ttc" id="group___overview_html_ga0c00c40fbb11db997a4650ae222ac29f"><div class="ttname"><a href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a></div><div class="ttdeci">#define XScuWdt_ReadReg(BaseAddr, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:131</div></div>
<div class="ttc" id="group___overview_html_gabb582c48f399b333543c54e0563809d5"><div class="ttname"><a href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a></div><div class="ttdeci">#define XSCUWDT_CONTROL_OFFSET</div><div class="ttdoc">Watchdog Control Register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:56</div></div>
<div class="ttc" id="group___overview_html_ga7c5148db8727a2fdbab1c7dba9296f77"><div class="ttname"><a href="group___overview.html#ga7c5148db8727a2fdbab1c7dba9296f77">XSCUWDT_CONTROL_WD_MODE_MASK</a></div><div class="ttdeci">#define XSCUWDT_CONTROL_WD_MODE_MASK</div><div class="ttdoc">Watchdog/Timer mode. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:70</div></div>
<div class="ttc" id="group___overview_html_ga396641b45a7213c8c18a19485759fee4"><div class="ttname"><a href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a></div><div class="ttdeci">#define XScuWdt_WriteReg(BaseAddr, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xscuwdt_hw.h:149</div></div>
</div><!-- fragment -->
<p>Put the watchdog timer in Watchdog mode by setting the WD mode bit of the Watchdog control register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#ga8813e9f9df643de43359defc1a7a48bc" title="Put the watchdog timer in Watchdog mode by setting the WD mode bit of the Watchdog control register...">XScuWdt_SetWdMode(XScuWdt *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>, and <a class="el" href="group___overview.html#ga1fee56fc3ec3c8b003e6ae0528703b1c">XScuWdt_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga396641b45a7213c8c18a19485759fee4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XScuWdt_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;Xil_Out32((BaseAddr) + ((u32)RegOffset), ((u32)Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddr</td><td>is the base address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be written </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4" title="Write the given register. ">XScuWdt_WriteReg(u32 BaseAddr, u32 RegOffset, u32 Data)</a> </dd></dl>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, <a class="el" href="group___overview.html#ga87a7a8230fc5fa80f64cb66210e596b8">XScuWdt_Start()</a>, and <a class="el" href="group___overview.html#gae1493503cc6e52afa681f23329e9abef">XScuWdt_Stop()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga1fee56fc3ec3c8b003e6ae0528703b1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XScuWdt_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EffectiveAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize a specific watchdog timer instance/driver. </p>
<p>This function must be called before other functions of the driver are called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>is the config structure. </td></tr>
    <tr><td class="paramname">EffectiveAddress</td><td>is the base address for the device. It could be a virtual address if address translation is supported in the system, otherwise it is the physical address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful.</li>
<li>XST_DEVICE_IS_STARTED if the device has already been started.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function enables the watchdog mode. </dd></dl>

<p>References <a class="el" href="struct_x_scu_wdt___config.html#ade7297db74ccde96bfc2e94f451b5a56">XScuWdt_Config::BaseAddr</a>, <a class="el" href="struct_x_scu_wdt.html#a6d670660d7b2dbb2cb2af9894f2d8562">XScuWdt::Config</a>, <a class="el" href="struct_x_scu_wdt___config.html#aa04ed2a4dfa5c5839113521ea8b2049f">XScuWdt_Config::DeviceId</a>, <a class="el" href="struct_x_scu_wdt.html#aa0f6b50d4cc3682c07cb1f982e0d9ceb">XScuWdt::IsReady</a>, <a class="el" href="struct_x_scu_wdt.html#ab9a2c001a81fa32ba6c78b94689dd611">XScuWdt::IsStarted</a>, and <a class="el" href="group___overview.html#ga8813e9f9df643de43359defc1a7a48bc">XScuWdt_SetWdMode</a>.</p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga899e316b67b7eab6cec1f5b99df25e4d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a> * XScuWdt_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lookup the device configuration based on the unique device ID. </p>
<p>The table contains the configuration info for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device being looked up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group___overview.html#ga5e6a2aae06d017ed240e5cbeffe190ff">XScuWdt_ConfigTable</a>.</p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2d6d32ff992704d9b78f93ab00ebdf78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XScuWdt_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run a self-test on the WDT. </p>
<p>This test stops the watchdog, writes a value to the watchdog load register, starts the watchdog and verifies that the value read from the counter register is less that the value written to the load register. It then restores the control register and the watchdog load register.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if self-test was successful.</li>
<li>XST_FAILURE if the WDT is not decrementing.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_scu_wdt.html#aa0f6b50d4cc3682c07cb1f982e0d9ceb">XScuWdt::IsReady</a>, <a class="el" href="group___overview.html#gafd4c1f9ff31d9c47028759d68d945a8c">XSCUWDT_CONTROL_WD_ENABLE_MASK</a>, <a class="el" href="group___overview.html#ga3baeac323b13ac9c8fb14b26ecb1080b">XSCUWDT_COUNTER_OFFSET</a>, <a class="el" href="group___overview.html#gaf62532fc29f79a73a2a058d6e81586a6">XScuWdt_GetControlReg</a>, <a class="el" href="group___overview.html#ga0ed3512c06a5468c1a1e156485c89b05">XSCUWDT_LOAD_OFFSET</a>, <a class="el" href="group___overview.html#ga7dca99f7a6158d27399eb355f40e3367">XScuWdt_LoadWdt</a>, <a class="el" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>, and <a class="el" href="group___overview.html#gaac6e3f570a91434e6e4066a7a6c5d333">XScuWdt_SetControlReg</a>.</p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga87a7a8230fc5fa80f64cb66210e596b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XScuWdt_Start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start the watchdog counter of the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>User needs to select the appropriate mode (watchdog/timer) before using this API. See XScuWdt_SetWdMode/XScuWdt_SetTimerMode macros in <a class="el" href="xscuwdt_8h.html">xscuwdt.h</a>. </dd></dl>

<p>References <a class="el" href="struct_x_scu_wdt___config.html#ade7297db74ccde96bfc2e94f451b5a56">XScuWdt_Config::BaseAddr</a>, <a class="el" href="struct_x_scu_wdt.html#a6d670660d7b2dbb2cb2af9894f2d8562">XScuWdt::Config</a>, <a class="el" href="struct_x_scu_wdt.html#aa0f6b50d4cc3682c07cb1f982e0d9ceb">XScuWdt::IsReady</a>, <a class="el" href="struct_x_scu_wdt.html#ab9a2c001a81fa32ba6c78b94689dd611">XScuWdt::IsStarted</a>, <a class="el" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>, <a class="el" href="group___overview.html#gafd4c1f9ff31d9c47028759d68d945a8c">XSCUWDT_CONTROL_WD_ENABLE_MASK</a>, <a class="el" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>, and <a class="el" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="gae1493503cc6e52afa681f23329e9abef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XScuWdt_Stop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_scu_wdt.html">XScuWdt</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stop the watchdog timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_scu_wdt.html" title="The XScuWdt driver instance data. ">XScuWdt</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_scu_wdt___config.html#ade7297db74ccde96bfc2e94f451b5a56">XScuWdt_Config::BaseAddr</a>, <a class="el" href="struct_x_scu_wdt.html#a6d670660d7b2dbb2cb2af9894f2d8562">XScuWdt::Config</a>, <a class="el" href="struct_x_scu_wdt.html#aa0f6b50d4cc3682c07cb1f982e0d9ceb">XScuWdt::IsReady</a>, <a class="el" href="struct_x_scu_wdt.html#ab9a2c001a81fa32ba6c78b94689dd611">XScuWdt::IsStarted</a>, <a class="el" href="group___overview.html#gabb582c48f399b333543c54e0563809d5">XSCUWDT_CONTROL_OFFSET</a>, <a class="el" href="group___overview.html#gafd4c1f9ff31d9c47028759d68d945a8c">XSCUWDT_CONTROL_WD_ENABLE_MASK</a>, <a class="el" href="group___overview.html#ga0c00c40fbb11db997a4650ae222ac29f">XScuWdt_ReadReg</a>, and <a class="el" href="group___overview.html#ga396641b45a7213c8c18a19485759fee4">XScuWdt_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xscuwdt__intr__example_8c.html#a3878b169befa50061eb50faa79407eaf">ScuWdtIntrExample()</a>, and <a class="el" href="xscuwdt__polled__example_8c.html#a2d362fc03da8ab7412d546d32ed9a4e3">ScuWdtPolledExample()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga8aafb91c801f0de1aea789c5d1380006"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a> XScuWdt_ConfigTable[XPAR_XSCUWDT_NUM_INSTANCES]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">        {</div>
<div class="line">                (u16)XPAR_SCUWDT_0_DEVICE_ID,</div>
<div class="line">                (u32)XPAR_SCUWDT_0_BASEADDR</div>
<div class="line">        }</div>
<div class="line">}</div>
</div><!-- fragment -->
<p>This table contains configuration information for each watchdog timer device in the system. </p>

<p>Referenced by <a class="el" href="group___overview.html#ga899e316b67b7eab6cec1f5b99df25e4d">XScuWdt_LookupConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5e6a2aae06d017ed240e5cbeffe190ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_scu_wdt___config.html">XScuWdt_Config</a> XScuWdt_ConfigTable[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This table contains configuration information for each watchdog timer device in the system. </p>

<p>Referenced by <a class="el" href="group___overview.html#ga899e316b67b7eab6cec1f5b99df25e4d">XScuWdt_LookupConfig()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
